package com.chenxiao.Observer;

/**
 * @Author: CX
 * @Date: Created in  2024/04/07 15:24
 * @version: v1.0
 * @Description: TODO
 **/
public class WxUser implements Observer{
    private String name;
    WxUser(String name){
        this.name = name;
    }
    @Override
    public void update(String message) {
        System.out.println(name + "接收到了消息(观察到了):" + message);
    }
}
